package com.example.layui.demo.entity;


import lombok.Data;

@Data
public class MyResult<E> {
//
//           map.put("code", 0);
//
//        map.put("msg", "请求成功");
//
//        map.put("count", myService.getArticleCount(articleVo));//总记录数
//
//        map.put("data", articleList);
    private Integer code;
    private String msg;
    private Integer count;
    private E data;

    public MyResult(Integer code,String msg,Integer count, E data)
    {
        this.code=code;
        this.count =count;
        this.msg =msg;
        this.data=data;
    }

}
